//
//  UITextField+Extension.h
//  BasicFramework
//
//  Created by Rainy on 16/11/3.
//  Copyright © 2016年 Rainy. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface UITextField (Tools)

/**
 *  根据图片名 设置输入框的左视图，需在这个方法里调整大小
 */
@property (nonatomic,strong) NSString *leftImageName;
/**
 *  根据间隙 设置输入框的左视图大小
 */
@property (nonatomic,assign) CGFloat  leftSpace;

/**
 *  水印字体颜色
 */
@property (nonatomic, strong) UIColor *placeholderColor;

/**
 *  水印字体
 */
@property (nonatomic, strong) UIFont* placeholderFont;

/**
 *  设置边框的颜色
 *
 *  @param color 边框的颜色
 */
//- (void)setBorderColor:(UIColor *)color;


-(NSString *)isEmpty;


+(id)TextFieldForImageN:(NSString *)imageN Placeholder:(NSString *)placeholder;

@end

@interface UITextView (Tools)
-(NSString *)isEmpty;
@end

@interface UITextField (Extension)

-(void)LeftImageNamed:(NSString *)Named IMG_size:(CGSize)IMG_size;

@end


